import request from '@/utils/request'

// 轮播图片列表
export function apiSwiperLists(params: any) {
    return request.get({ url: '/decorate.decorateSwiper/lists', params })
}

// 添加轮播图片
export function apiSwiperAdd(params: any) {
    return request.post({ url: '/decorate.decorateSwiper/add', params })
}

// 编辑轮播图片
export function apiSwiperEdit(params: any) {
    return request.post({ url: '/decorate.decorateSwiper/edit', params })
}

// 删除轮播图片
export function apiSwiperDelete(params: any) {
    return request.post({ url: '/decorate.decorateSwiper/delete', params })
}

// 轮播图片详情
export function apiSwiperDetail(params: any) {
    return request.get({ url: '/decorate.decorateSwiper/detail', params })
}

// 提示内容列表
export function apiDecorateHintLists(params: any) {
    return request.get({ url: '/decorate.decorate_hint/lists', params })
}
// 提示内容列表
export function apiDecorateHintAllByType(params: any) {
    return request.get({ url: '/decorate.decorate_hint/allByType', params })
}

// 添加提示内容
export function apiDecorateHintAdd(params: any) {
    return request.post({ url: '/decorate.decorate_hint/add', params })
}

// 编辑提示内容
export function apiDecorateHintEdit(params: any) {
    return request.post({ url: '/decorate.decorate_hint/edit', params })
}

// 删除提示内容
export function apiDecorateHintDelete(params: any) {
    return request.post({ url: '/decorate.decorate_hint/delete', params })
}

// 提示内容详情
export function apiDecorateHintDetail(params: any) {
    return request.get({ url: '/decorate.decorate_hint/detail', params })
}

// 菜单按钮列表
export function apiDecorateNavLists(params: any) {
    return request.get({ url: '/decorate.decorate_nav/lists', params })
}

// 添加菜单按钮
export function apiDecorateNavAdd(params: any) {
    return request.post({ url: '/decorate.decorate_nav/add', params })
}

// 编辑菜单按钮
export function apiDecorateNavEdit(params: any) {
    return request.post({ url: '/decorate.decorate_nav/edit', params })
}

// 删除菜单按钮
export function apiDecorateNavDelete(params: any) {
    return request.post({ url: '/decorate.decorate_nav/delete', params })
}

// 菜单按钮详情
export function apiDecorateNavDetail(params: any) {
    return request.get({ url: '/decorate.decorate_nav/detail', params })
}
